<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use DB;
use App\Http\Requests;
use App\Http\Controllers\Controller;

class LunboListController extends Controller
{
    public static function getLunbo()
    {
        //查询
        $lunbos = DB::table('Lunbo')->where('status','2')->get();
        // dd($lunbos);
        //解析模板
        return view('Home.lunbo.lunbolist',['lunbos'=> $lunbos]);
    }
}
